from PIL import Image

def create_black_image(width, height):
    # 创建一个黑色背景的图像
    image = Image.new('L', (width, height), 0)
    # image = Image.new('RGB', (width, height), 0)
    return image

# 设定图像的宽度和高度
x = 10000
y = 10000

# 生成黑色图像
black_image = create_black_image(x, y)

# 保存图像
black_image.save('pcbbgd10000.jpg')